package com.oocl.products.service.factory;

import com.oocl.products.service.UserService;
import com.oocl.products.service.impl.UserServiceImpl;

public class UserServiceFactory {

	private static UserService userService;

	private UserServiceFactory() {}
	
	public static UserService getInstance(){
		if(userService==null){
			userService = new UserServiceImpl();
		}
		return userService;
	}
}
